unadjust Value For Splits Int
Given a number of currency units as of today, return the equivalent number of units in the asofDate's currency value, which must be a previous date. This is intended to be used mainly for stock splits. Note: the result is deliberately rounded after each split calculation as in real life the new post-split share qty would crystallize into real shares and this value needs to be constant. If you allowed a calculation to maintain decimal precision over several split calculations, then you could end up with a different final share quantity.
Return
The value as of the given asofDate, un-adjusted for any splits.
Parameters
asof Date
The older date.
today Val
The value as of the today date.
today
Today's date (or at least a date more current than asofDate).